<?php include_once 'carregando.php' ; ?>
<form name="emitirCND" id="emitirCND" method="POST" action="http://www.sefaz.go.gov.br/Certidao/Emissao/certidao.asp" >
    
    <input type="hidden" name="Certidao.Tipo" value="01">
    <input type="hidden" name="Certidao.TipoDocumento" value="1">
    <input type="hidden" name="Certidao.Espolio" value="N">
    <input type="hidden" name="Certidao.NumeroDocumentoCNPJ" value="<?php echo $cnpj;?>">
    
</form>
    
<script>
    document.getElementById("emitirCND").submit();
</script>